<!--
 * @Author: Liu
 * @Date: 2023-05-04 14:18:06
 * @LastEditTime: 2023-05-19 23:12:24
-->
<script setup>
</script>

<template>
  <div>
    <router-view></router-view>
  </div>
</template>
<script setup>
import utils from "./utils/index.js";
import { onMounted } from "vue";
onMounted(() => {
  // new VConsole()
})
utils.setUniAppShareData({
  title: "U星大富翁 | 幸运投掷 掷出好礼", //转发标题 ，不传内容为当前小程序名称
  imageUrl: "https://yinli-qixi-run.varwey.com/2023_ca/chess1025/share/mini.jpg",
});
// window.startHref = window.location.href
try {
  var style = {
    text: "U星大富翁 | 幸运投掷 掷出好礼",
  };

  window.UNIApp.setNavTitle("U星大富翁 | 幸运投掷 掷出好礼", style, "subcallback");
} catch (error) {}

window.oncontextmenu = function () {
  return false;
};
console.log("没有debug'")



   // 禁用F12
  //  document.addEventListener("keydown",function(event){
  //     return  123 != event.keyCode || (event.returnValue = false)
  //  })

   // 判断环境清空内容
   let  a = utils.getOperationEnvironment()
   let ua = window.navigator.userAgent.toLowerCase();
   if(a!="uni_app" && ua.indexOf('micromessenger') == -1){
      document.write("访问异常!")
   }



</script>
<style>
.noticeWidth {
  padding: 30px !important;
  font-size: 28px !important;
  letter-spacing: 1px !important;
}

.noticeWidthLoading {
  width: 16vw !important;
  height: 16vw !important;
}

.noticeWidthLoading .van-loading__spinner {
  width: 60px !important;
  height: 60px !important;
}

.noticeWidthLoading .van-toast__text {
  font-size: 20px;
  margin-top: 20px;
}

.overlayClass {
  background-color: rgba(0, 0, 0, 1) !important;
}
</style>
